package com.juneyaoair.search.response;


import java.io.Serializable;
import java.util.List;

/**
 * 分页数据实体
 * @author :master
 * @date :20200911
 * @param <T>
 */
public class PageResponse<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 总页数 */
    private long pageTotal;

    /** 当前页 */
    private int pageIndex;

    /** 当前页数据 */
    private List<T> list;

    /** 总记录数 */
    private long total;

    public List<T> getList() {
        return this.list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public long getPageTotal() {
        return this.pageTotal;
    }

    public void setPageTotal(long pageTotal) {
        this.pageTotal = pageTotal;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
